package sk.fiit.lulco.gui;

import sk.fiit.lulco.grafy.GenerationStats;
import sk.fiit.lulco.grafy.Graph;

public class GraphEvent {

	private Graph graph;
	private GenerationStats stats;
	private int generationCount;
	private int actualGeneration;
	private int populationSize;

	public GraphEvent(Graph graph, GenerationStats stats, int generationCount, int actualGeneration,
			int populationSize) {
		this.graph = new Graph(graph);
		this.stats = stats;
		this.generationCount = generationCount;
		this.actualGeneration = actualGeneration;
		this.populationSize = populationSize;
	}

	public int getGenerationCount() {
		return generationCount;
	}

	public int getActualGeneration() {
		return actualGeneration;
	}

	public int getPopulationSize() {
		return populationSize;
	}

	public Graph getGraph() {
		return graph;
	}

	public GenerationStats getStats() {
		return stats;
	}
}
